export interface SwitchTab {
  (index: number, curIdx: number): boolean;
}

export interface SetSubMenuList {
  (key: number): void;
}

export interface MatchMenuIdx {
  (key: number, values: Menu.MenuOptions[], tabsParams?: any): number;
}

export interface MenuItem {
  [key: string]: any;
}

export interface MatchRoute {
  (subMenuItem: Menu.MenuOptions): string;
}
